/*
 * mongeese.cpp
 *
 *  Created on: Nov 24, 2010
 *      Author: elrom
 */

#include "mongeese.h"
//#include "mongoose.h"
/*
static void * mongeese::callback(mg_event event, mg_connection *conn,const mg_request_info *request_info)
{
	//struct mg_context *ctx;
	//struct mg_connection *conn;
    //All we do here is call the do_work() function
	mongeese * temp;
//	conn->
	temp = reinterpret_cast<mongeese*>((conn->ctx)->geese);

    //(conn->ctx.geese).connectionMade();
}
*/
mongeese::mongeese() {
	// TODO Auto-generated constructor stub


context_ = mg_start2(&(mongeese::callbackstatic),NULL,this);

//printf("%d",this);
}

mongeese::~mongeese() {
	// TODO Auto-generated destructor stub
}




